<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- liquid/views/layout/main.php -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="language" content="<?php echo Yii::app()->language ?>" />
    <head>
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
<style type="text/css">
<!--
@page { size:29.7cm 21.0cm; margin:1.5cm 2cm 2cm 2cm; }
body
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
}
h1
{
    font-size: 1.2em;
}
h2
{
    font-size: 1.1em;
}
#companyAddress
{
    text-align:center;
    padding: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid navy;
}
/* {{{ quoteHeader */
table#quoteHeader
{
    width: 35%;
    position: absolute;
    right: 20px;
    border-collapse: collapse
}
table#quoteHeader tr.even
{
    background-color: #ccc;
}
table#quoteHeader tr.odd
{
    background-color: #eee;
}
table#quoteHeader th,td
{
    padding: 3px;
}
table#quoteHeader th
{
    text-align: right;
}
table#quoteHeader th.first
{
    color: white;
    background-color: #acacd9;
    text-align: left;
}
/* }}} */
/* {{{ itemsList */
table.itemsList
{
    width: 100%;
    margin-right: 20px;
    margin-bottom: 15px;
    border-collapse: collapse;
    border: 1px solid #acacd9;
}
table.itemsList thead th
{
    padding: 2px 2px 2px 5px;
    text-align: left;
    color: white;
    background-color: #acacd9;
}
table.itemsList tbody tr.even
{
    background-color: #eee;
}
table.itemsList tbody td
{
    border: 1px solid navy;
}
table.itemsList tbody td.centered
{
    text-align: center;
}
table.itemsList tbody td.right
{
    padding-right: 8px;
    text-align: right;
}
/* }}} */
/* {{{ sumTaxes */
table#sumTaxes
{
    width: 35%;
    position: absolute;
    right: 20px;
    margin-top: 20px;
    border-collapse: collapse
}
table#sumTaxes tr.even
{
    background-color: #ccc;
}
table#sumTaxes tr.odd
{
    background-color: #eee;
}
table#sumTaxes th,td
{
    padding: 3px;
}
table#sumTaxes th
{
    text-align: right;
}
table#sumTaxes th.first
{
    color: white;
    background-color: navy;
    text-align: left;
}
/* }}} */
#headerNote1, #termsOfPayment, #note1, #note2
{
    margin-bottom: 10px;
    margin-top: 10px;
}
#companyBankAccount
{
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
    padding: 5px;
    margin-top: 20px;
    border-top: 1px solid navy;
}
.right
{
    text-align: right; 
}
-->
</style>
    </head>
    <body>
        <?php echo $content; ?>
    </body>
</html>
